<?php
namespace app\common\validate\tysj;

class ProductKeyword extends Base {
    /**
     * 验证规则
     */
    protected $rule = [
        'name'                  => 'require|max:32',
    ];


    /**
     * 提示消息
     */
    protected $message = [
        'name.require'          => '关键字不能为空',
        'name.max'              => '关键字不能超过32个字符'
    ];
    /**
     * 验证场景
     */
    protected $scene = [

    ];
}
